// pages/me/index.js
Page({
  data: {
    userInfo:{
      "avatarUrl": "",
      "name":"",
      "accont":""
    },
    TopitemList:[
      {
        "icon":"/images/icons/sett.png",
        "name":"打卡设置"
      },
      {
        "icon":"/images/icons/settp.png",
        "name":"系统调试"
      }
    ],
    setLiset:[
      {
        "icon":"/images/icons/suggest.png",
        "name":"建议反馈"
      },
    ]
  },
  getOPD:function(item){
    let name = item._relatedInfo.anchorTargetText;
    if(name === "建议反馈"){
      wx.navigateTo({
        url: '../survey/survey',
      })
    }else{
      wx.showModal({
        content: '功能待完善！',
        title: '提示',
        success: (result) => {},
        fail: (res) => {
          console.log("弹窗提示异常！")
        },
      })
    }
  }
})